<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
</head>
<style>
.aui-iconfont{
    font-size: 18px;
}
#footer{
  /*padding-top:0;border-top: 1px solid #CCCCCC;*/
}
</style>
<body>
    <header class="aui-bar aui-bar-nav" id="aui-header" style="padding-top:20px;">
        <a class="aui-btn aui-pull-left" tapmode onclick="closeWin()">
            <span class="aui-iconfont aui-icon-left"></span>
        </a>
        <div class="aui-title">聊天记录</div>
    </header>
    <!--<footer class="aui-bar aui-bar-tab" id="footer">
          <div class="aui-col-xs-3">
              <i class="aui-iconfont aui-icon-left"></i>
              <div class="aui-bar-tab-label">上一页</div>
          </div>
          <div class="aui-col-xs-3">
              <i class="aui-iconfont aui-icon-right"></i>
              <div class="aui-bar-tab-label">下一页</div>
          </div>
          <div class="aui-col-xs-3">
              <i class="aui-iconfont aui-icon-refresh"></i>
              <div class="aui-bar-tab-label">刷新</div>
          </div>
          <div class="aui-col-xs-3">
              <i class="aui-iconfont aui-icon-trash"></i>
              <div class="aui-bar-tab-label">清空</div>
          </div>
    </footer>-->
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript">
    apiready = function(){
        api.parseTapmode();
        var header = $api.byId('aui-header');
        $api.fixStatusBar(header);
        var headerPos = $api.offset(header);
        var targetId = api.pageParam.targetId;
        api.openFrame({
            name: 'chat_history_frm',
            url: 'chat_history_frm.html',
            bounces: true,
            rect: {
                x: 0,
                y: headerPos.h,
                w: 'auto',
                h: api.winHeight-headerPos.h
            },
            pageParam:{
              targetId:targetId
            }
        })
    };
    function closeWin(){
        api.closeWin({
        });
    }
</script>
</html>
